.class public Lcom/netease/newsreader/activity/MoreAppActivity;
.super Lcom/netease/newsreader/activity/BaseActivity;
.source "MoreAppActivity.java"


# static fields
.field public static final APPER_3GURL:Ljava/lang/String; = "http://3g.163.com/m/android/software/2vbutg.html"

.field public static final APPID_APPER:Ljava/lang/String; = "com.netease.apper"

.field public static final APPID_CLOUDALBUM:Ljava/lang/String; = "com.netease.cloudalbum"

.field public static final APPID_CP:Ljava/lang/String; = "com.netease.caipiao"

.field public static final APPID_CUBE:Ljava/lang/String; = "com.youdao.cube"

.field public static final APPID_DICT:Ljava/lang/String; = "com.youdao.dict"

.field public static final APPID_RPMMS:Ljava/lang/String; = "com.netease.rpmms"

.field public static final APPID_VOPEN:Ljava/lang/String; = "com.netease.vopen"

.field public static final APPID_WB:Ljava/lang/String; = "com.netease.wb"

.field public static final APPID_YUEDU:Ljava/lang/String; = "com.netease.pris"

.field public static final MarketURL:Ljava/lang/String; = "https://market.android.com/details?id="


# instance fields
.field private appinfogridview:Landroid/widget/GridView;

.field private itemClickListener:Landroid/widget/AdapterView$OnItemClickListener;

.field private moreAppAdapter:Lcom/netease/newsreader/adapter/MoreAppAdapter;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 21
    invoke-direct {p0}, Lcom/netease/newsreader/activity/BaseActivity;-><init>()V

    .line 118
    new-instance v0, Lcom/netease/newsreader/activity/MoreAppActivity$1;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/MoreAppActivity$1;-><init>(Lcom/netease/newsreader/activity/MoreAppActivity;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/MoreAppActivity;->itemClickListener:Landroid/widget/AdapterView$OnItemClickListener;

    .line 21
    return-void
.end method


# virtual methods
.method public goBackClick(Landroid/view/View;)V
    .locals 0
    .parameter "view"

    .prologue
    .line 148
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/MoreAppActivity;->finish()V

    .line 149
    return-void
.end method

.method public onApplyTheme()V
    .locals 3

    .prologue
    .line 154
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onApplyTheme()V

    .line 155
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/MoreAppActivity;->getThemeSettingsHelper()Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v0

    .line 156
    .local v0, themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;
    const/high16 v1, 0x7f0c

    const v2, 0x7f020079

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/app/Activity;II)V

    .line 157
    const v1, 0x7f0c0001

    const v2, 0x7f0200fe

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/app/Activity;II)V

    .line 158
    const v1, 0x7f0c0003

    const v2, 0x7f080025

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/app/Activity;II)V

    .line 160
    const v1, 0x7f0c0002

    const v2, 0x7f020041

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setImageViewSrc(Landroid/app/Activity;II)V

    .line 161
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 4
    .parameter "savedInstanceState"

    .prologue
    .line 44
    invoke-super {p0, p1}, Lcom/netease/newsreader/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 45
    const/4 v2, 0x1

    invoke-virtual {p0, v2}, Lcom/netease/newsreader/activity/MoreAppActivity;->requestWindowFeature(I)Z

    .line 46
    const v2, 0x7f03003d

    invoke-virtual {p0, v2}, Lcom/netease/newsreader/activity/MoreAppActivity;->setContentView(I)V

    .line 48
    const v2, 0x7f0c00f7

    invoke-virtual {p0, v2}, Lcom/netease/newsreader/activity/MoreAppActivity;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/GridView;

    iput-object v2, p0, Lcom/netease/newsreader/activity/MoreAppActivity;->appinfogridview:Landroid/widget/GridView;

    .line 49
    new-instance v2, Lcom/netease/newsreader/adapter/MoreAppAdapter;

    invoke-direct {v2, p0}, Lcom/netease/newsreader/adapter/MoreAppAdapter;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/netease/newsreader/activity/MoreAppActivity;->moreAppAdapter:Lcom/netease/newsreader/adapter/MoreAppAdapter;

    .line 51
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 53
    .local v1, list:Ljava/util/List;,"Ljava/util/List<Lcom/netease/newsreader/bean/AppInfo;>;"
    new-instance v0, Lcom/netease/newsreader/bean/AppInfo;

    invoke-direct {v0}, Lcom/netease/newsreader/bean/AppInfo;-><init>()V

    .line 54
    .local v0, appinfo:Lcom/netease/newsreader/bean/AppInfo;
    const v2, 0x7f020066

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setImg(I)V

    .line 55
    const-string v2, "\u7f51\u6613\u516c\u5f00\u8bfe"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setName(Ljava/lang/String;)V

    .line 56
    const-string v2, "com.netease.vopen"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setPackagename(Ljava/lang/String;)V

    .line 57
    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 59
    new-instance v0, Lcom/netease/newsreader/bean/AppInfo;

    .end local v0           #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    invoke-direct {v0}, Lcom/netease/newsreader/bean/AppInfo;-><init>()V

    .line 60
    .restart local v0       #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    const v2, 0x7f020064

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setImg(I)V

    .line 61
    const-string v2, "\u7f51\u6613\u5e94\u7528"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setName(Ljava/lang/String;)V

    .line 62
    const-string v2, "com.netease.apper"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setPackagename(Ljava/lang/String;)V

    .line 63
    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 65
    new-instance v0, Lcom/netease/newsreader/bean/AppInfo;

    .end local v0           #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    invoke-direct {v0}, Lcom/netease/newsreader/bean/AppInfo;-><init>()V

    .line 66
    .restart local v0       #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    const v2, 0x7f020067

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setImg(I)V

    .line 67
    const-string v2, "\u7f51\u6613\u5fae\u535a"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setName(Ljava/lang/String;)V

    .line 68
    const-string v2, "com.netease.wb"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setPackagename(Ljava/lang/String;)V

    .line 69
    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 71
    new-instance v0, Lcom/netease/newsreader/bean/AppInfo;

    .end local v0           #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    invoke-direct {v0}, Lcom/netease/newsreader/bean/AppInfo;-><init>()V

    .line 72
    .restart local v0       #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    const v2, 0x7f020065

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setImg(I)V

    .line 73
    const-string v2, "\u7f51\u6613\u5f69\u7968"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setName(Ljava/lang/String;)V

    .line 74
    const-string v2, "com.netease.caipiao"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setPackagename(Ljava/lang/String;)V

    .line 75
    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 77
    new-instance v0, Lcom/netease/newsreader/bean/AppInfo;

    .end local v0           #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    invoke-direct {v0}, Lcom/netease/newsreader/bean/AppInfo;-><init>()V

    .line 78
    .restart local v0       #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    const v2, 0x7f02005f

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setImg(I)V

    .line 79
    const-string v2, "\u6709\u9053\u8bcd\u5178"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setName(Ljava/lang/String;)V

    .line 80
    const-string v2, "com.youdao.dict"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setPackagename(Ljava/lang/String;)V

    .line 81
    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 83
    new-instance v0, Lcom/netease/newsreader/bean/AppInfo;

    .end local v0           #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    invoke-direct {v0}, Lcom/netease/newsreader/bean/AppInfo;-><init>()V

    .line 84
    .restart local v0       #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    const v2, 0x7f02005e

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setImg(I)V

    .line 85
    const-string v2, "\u7f51\u6613\u516b\u65b9"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setName(Ljava/lang/String;)V

    .line 86
    const-string v2, "com.youdao.cube"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setPackagename(Ljava/lang/String;)V

    .line 87
    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 89
    new-instance v0, Lcom/netease/newsreader/bean/AppInfo;

    .end local v0           #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    invoke-direct {v0}, Lcom/netease/newsreader/bean/AppInfo;-><init>()V

    .line 90
    .restart local v0       #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    const v2, 0x7f02005d

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setImg(I)V

    .line 91
    const-string v2, "\u7f51\u6613\u4e91\u76f8\u518c"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setName(Ljava/lang/String;)V

    .line 92
    const-string v2, "com.netease.cloudalbum"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setPackagename(Ljava/lang/String;)V

    .line 93
    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 95
    new-instance v0, Lcom/netease/newsreader/bean/AppInfo;

    .end local v0           #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    invoke-direct {v0}, Lcom/netease/newsreader/bean/AppInfo;-><init>()V

    .line 96
    .restart local v0       #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    const v2, 0x7f020061

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setImg(I)V

    .line 97
    const-string v2, "\u7f51\u6613\u624b\u673a\u90ae"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setName(Ljava/lang/String;)V

    .line 98
    const-string v2, "com.netease.rpmms"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setPackagename(Ljava/lang/String;)V

    .line 99
    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 101
    new-instance v0, Lcom/netease/newsreader/bean/AppInfo;

    .end local v0           #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    invoke-direct {v0}, Lcom/netease/newsreader/bean/AppInfo;-><init>()V

    .line 102
    .restart local v0       #appinfo:Lcom/netease/newsreader/bean/AppInfo;
    const v2, 0x7f020063

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setImg(I)V

    .line 103
    const-string v2, "\u7f51\u6613\u9605\u8bfb"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setName(Ljava/lang/String;)V

    .line 104
    const-string v2, "com.netease.pris"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/bean/AppInfo;->setPackagename(Ljava/lang/String;)V

    .line 105
    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 113
    iget-object v2, p0, Lcom/netease/newsreader/activity/MoreAppActivity;->moreAppAdapter:Lcom/netease/newsreader/adapter/MoreAppAdapter;

    invoke-virtual {v2, v1}, Lcom/netease/newsreader/adapter/MoreAppAdapter;->setList(Ljava/util/List;)V

    .line 114
    iget-object v2, p0, Lcom/netease/newsreader/activity/MoreAppActivity;->appinfogridview:Landroid/widget/GridView;

    iget-object v3, p0, Lcom/netease/newsreader/activity/MoreAppActivity;->moreAppAdapter:Lcom/netease/newsreader/adapter/MoreAppAdapter;

    invoke-virtual {v2, v3}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 115
    iget-object v2, p0, Lcom/netease/newsreader/activity/MoreAppActivity;->appinfogridview:Landroid/widget/GridView;

    iget-object v3, p0, Lcom/netease/newsreader/activity/MoreAppActivity;->itemClickListener:Landroid/widget/AdapterView$OnItemClickListener;

    invoke-virtual {v2, v3}, Landroid/widget/GridView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 116
    return-void
.end method
